<?php class Form_LanguageForm extends Form_Custom_General {
        
    public function init() {

		$lang_id = $this->createElement("hidden", "lang_id")
                     ->setRequired(FALSE)
                     ->addValidator("NotEmpty", true, array("messages" => array("isEmpty" => "Please enter ")))
                     ->addFilters(array(
                         new Zend_Filter_StringTrim(),
                     ))
                     ->setAttribs(Array("class"=>"span6","placeholder"=>""));
                     $this->addElement($lang_id);

		$lang_name = $this->createElement("text", "lang_name")
                     ->setRequired(TRUE)
                     ->addValidator("NotEmpty", true, array("messages" => array("isEmpty" => "Please enter language name")))
                     ->addFilters(array(
                         new Zend_Filter_StringTrim(),
                     ))
                     ->setAttribs(Array("class"=>"span6","placeholder"=>"Language Name"));
                     $this->addElement($lang_name);

		

		$submit = $this->createElement("submit", "Save")
                ->setAttribs(Array("title" => "Save changes", "class"=>"btn-glow primary"));
        $this->addElement($submit);


        $reset = $this->createElement("reset", "Reset")
                ->setAttribs(Array("title" => "Save changes and continue to edit", "class"=>"btn-glow primary"));
        $this->addElement($reset);   }
        }?>